package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 级别记录实体
 * 表名 level_record
 *
 * 
 * 
 * @date Tue Apr 25 09:50:33 CST 2023
 */
@Setter
@Getter
public class LevelRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //变更用户
    private Long userId;
        //用户名
    private String userName;
        //用户编号
    private String userCode;
        //当前级别ID
    private Long nowLevelId;
        //当前级别
    private String nowLevel;
        //级别
    private String oldLevel;
        //旧级别ID
    private Long oldLevelId;

    //订单编号
    private String orderNo;
        //变更原因
    private String remark;
        //变更时间
    private Date time;
        //起止时间
    Date[] times;
    
    public LevelRecordEntity(){

    }

    public LevelRecordEntity(Long userId, String userName, String userCode, Long nowLevelId, String nowLevel, String oldLevel, Long oldLevelId,String orderNo, String remark, Date time) {
        this.userId = userId;
        this.userName = userName;
        this.userCode = userCode;
        this.nowLevelId = nowLevelId;
        this.nowLevel = nowLevel;
        this.oldLevel = oldLevel;
        this.oldLevelId = oldLevelId;
        this.remark = remark;
        this.time = time;
        this.orderNo = orderNo;
    }
}
